package com.monitor.service;

import com.baomidou.mybatisplus.service.IService;
import com.github.abel533.echarts.Option;
import com.monitor.entity.JfzRealTime;
import com.monitor.util.Result;

import java.util.List;
import java.util.Map;

public interface JfzRealTimeService  extends IService<JfzRealTime> {
	public Map<String, Object> getList(int page,int limit);
	public Map<String, Object> getListByCar(int page,int limit);
	public Map<String, Object> getListByCustomerId(Integer custId,String keyWord);
	public Option getEcharts(String startTime,String endTime,int type,int carId);

	//饼状图
	public Option getEcharBing(String startTime, String endTime,int type);
	//折线图
	public Option getEcharZhe(String startTime, String endTime,int type);
	//柱状图
	public Option getEcharZhu(String startTime, String endTime,int type);

	public Map<String, Object> getListByErrorCar();
	//查询轮胎信息
	public Map<String, Object> selectTireArchives(String po,int carId);
	public Map<String, Object> selectCarTyre(int carId);
	//获得车辆信息列表
	public Result<List<Map<String, Object>>> selectByCustomeId(Integer cId);
	//统计分析
	public Result<List<Map<String, Object>>> selectTable(String startTime,String endTime,Integer cId,Integer type,Integer page,Integer limit);
	//报警管理 列表查询
	public Result<List<Map<String, Object>>> selectErrorList(String startTime,String endTime,Integer cId,Integer page,Integer limit);

//	//图形
//	/// /胎压监控-报警管理, 报警原因
//	public   List<Map<String, Object>> selectReason (String startTime,String endTime);
//	//胎压监控-报警管理, 报警类型
//	public   List<Map<String, Object>> selectType (String startTime,String endTime);
//	//胎压监控-报警管理, 胎位
//	public   List<Map<String, Object>> selectLocation(String startTime,String endTime);
}
